execute as @a run scoreboard players operation @s dayshower_storge_1 = @s dayshower_day
execute as @a run scoreboard players set @s dayshower_storge_2 1461
execute as @a run scoreboard players operation @s dayshower_storge_1 /= @s dayshower_storge_2
execute as @a run scoreboard players operation @s dayshower_storge_2 = @s dayshower_day
execute as @a run scoreboard players add @s dayshower_storge_2 366
execute as @a run scoreboard players set @s dayshower_storge_3 36525
execute as @a run scoreboard players operation @s dayshower_storge_2 /= @s dayshower_storge_3
execute as @a run scoreboard players operation @s dayshower_storge_1 -= @s dayshower_storge_2
execute as @a run scoreboard players operation @s dayshower_storge_2 = @s dayshower_day
execute as @a run scoreboard players add @s dayshower_storge_2 366
execute as @a run scoreboard players set @s dayshower_storge_3 146100
execute as @a run scoreboard players operation @s dayshower_storge_2 /= @s dayshower_storge_3
execute as @a run scoreboard players operation @s dayshower_storge_1 += @s dayshower_storge_2
execute as @a run scoreboard players operation @s dayshower_leap_year = @s dayshower_storge_1

execute as @a run scoreboard players operation @s dayshower_storge_1 = @s dayshower_day
execute as @a run scoreboard players operation @s dayshower_storge_1 -= @s dayshower_leap_year
execute as @a run scoreboard players set @s dayshower_storge_2 366
execute as @a run scoreboard players operation @s dayshower_storge_1 /= @s dayshower_storge_2
execute as @a run scoreboard players operation @s dayshower_year = @s dayshower_storge_1
execute as @a run scoreboard players add @s dayshower_year 1

execute as @a run scoreboard players operation @s dayshower_storge_1 = @s dayshower_year
execute as @a run scoreboard players set @s dayshower_storge_2 400
execute as @a run scoreboard players operation @s dayshower_storge_1 %= @s dayshower_storge_2
execute as @a run scoreboard players set @s dayshower_storge_2 4
execute as @a run scoreboard players operation @s dayshower_storge_1 %= @s dayshower_storge_2

execute as @a run scoreboard players operation @s dayshower_storge_2 = @s dayshower_year
execute as @a run scoreboard players set @s dayshower_storge_3 100
execute as @a run scoreboard players operation @s dayshower_storge_2 %= @s dayshower_storge_3

execute as @a unless score @s dayshower_storge_2 matches 0 if score @s dayshower_storge_1 matches 0 run scoreboard players set @s dayshower_leap_today 1
execute as @a if score @s dayshower_storge_2 matches 0 run scoreboard players set @s dayshower_leap_today 0
execute as @a unless score @s dayshower_storge_1 matches 0 run scoreboard players set @s dayshower_leap_today 0

execute as @a run scoreboard players operation @s dayshower_storge_2 = @s dayshower_day
execute as @a run scoreboard players operation @s dayshower_storge_2 -= @s dayshower_leap_year
execute as @a run scoreboard players set @s dayshower_storge_1 365
execute as @a run scoreboard players operation @s dayshower_storge_2 %= @s dayshower_storge_1
execute as @a if score @s dayshower_storge_2 matches 0..31 run scoreboard players set @s dayshower_month 1
execute as @a if score @s dayshower_storge_2 matches 32..60 if score @s dayshower_leap_today matches 1 run scoreboard players set @s dayshower_month 2
execute as @a if score @s dayshower_storge_2 matches 32..59 if score @s dayshower_leap_today matches 0 run scoreboard players set @s dayshower_month 2
execute as @a if score @s dayshower_storge_2 matches 32..60 if score @s dayshower_leap_today matches 1 run scoreboard players remove @s dayshower_storge_2 31
execute as @a if score @s dayshower_storge_2 matches 32..59 if score @s dayshower_leap_today matches 0 run scoreboard players remove @s dayshower_storge_2 31
execute as @a if score @s dayshower_storge_2 matches 61..91 if score @s dayshower_leap_today matches 1 run scoreboard players set @s dayshower_month 3
execute as @a if score @s dayshower_storge_2 matches 61..91 if score @s dayshower_leap_today matches 1 run scoreboard players remove @s dayshower_storge_2 60
execute as @a if score @s dayshower_storge_2 matches 60..90 if score @s dayshower_leap_today matches 0 run scoreboard players set @s dayshower_month 3
execute as @a if score @s dayshower_storge_2 matches 60..90 if score @s dayshower_leap_today matches 0 run scoreboard players remove @s dayshower_storge_2 59
execute as @a if score @s dayshower_storge_2 matches 92..121 if score @s dayshower_leap_today matches 1 run scoreboard players set @s dayshower_month 4
execute as @a if score @s dayshower_storge_2 matches 92..121 if score @s dayshower_leap_today matches 1 run scoreboard players remove @s dayshower_storge_2 91
execute as @a if score @s dayshower_storge_2 matches 91..120 if score @s dayshower_leap_today matches 0 run scoreboard players set @s dayshower_month 4
execute as @a if score @s dayshower_storge_2 matches 91..120 if score @s dayshower_leap_today matches 0 run scoreboard players remove @s dayshower_storge_2 90
execute as @a if score @s dayshower_storge_2 matches 122..151 if score @s dayshower_leap_today matches 1 run scoreboard players set @s dayshower_month 5
execute as @a if score @s dayshower_storge_2 matches 122..151 if score @s dayshower_leap_today matches 1 run scoreboard players remove @s dayshower_storge_2 121
execute as @a if score @s dayshower_storge_2 matches 121..150 if score @s dayshower_leap_today matches 0 run scoreboard players set @s dayshower_month 5
execute as @a if score @s dayshower_storge_2 matches 121..150 if score @s dayshower_leap_today matches 0 run scoreboard players remove @s dayshower_storge_2 120
execute as @a if score @s dayshower_storge_2 matches 152..181 if score @s dayshower_leap_today matches 1 run scoreboard players set @s dayshower_month 6
execute as @a if score @s dayshower_storge_2 matches 152..181 if score @s dayshower_leap_today matches 1 run scoreboard players remove @s dayshower_storge_2 151
execute as @a if score @s dayshower_storge_2 matches 151..180 if score @s dayshower_leap_today matches 0 run scoreboard players set @s dayshower_month 6
execute as @a if score @s dayshower_storge_2 matches 151..180 if score @s dayshower_leap_today matches 0 run scoreboard players remove @s dayshower_storge_2 150
execute as @a if score @s dayshower_storge_2 matches 182..212 if score @s dayshower_leap_today matches 1 run scoreboard players set @s dayshower_month 7
execute as @a if score @s dayshower_storge_2 matches 182..212 if score @s dayshower_leap_today matches 1 run scoreboard players remove @s dayshower_storge_2 181
execute as @a if score @s dayshower_storge_2 matches 181..211 if score @s dayshower_leap_today matches 0 run scoreboard players set @s dayshower_month 7
execute as @a if score @s dayshower_storge_2 matches 181..211 if score @s dayshower_leap_today matches 0 run scoreboard players remove @s dayshower_storge_2 180
execute as @a if score @s dayshower_storge_2 matches 213..243 if score @s dayshower_leap_today matches 1 run scoreboard players set @s dayshower_month 8
execute as @a if score @s dayshower_storge_2 matches 213..243 if score @s dayshower_leap_today matches 1 run scoreboard players remove @s dayshower_storge_2 212
execute as @a if score @s dayshower_storge_2 matches 212..242 if score @s dayshower_leap_today matches 0 run scoreboard players set @s dayshower_month 8
execute as @a if score @s dayshower_storge_2 matches 212..242 if score @s dayshower_leap_today matches 0 run scoreboard players remove @s dayshower_storge_2 211
execute as @a if score @s dayshower_storge_2 matches 244..273 if score @s dayshower_leap_today matches 1 run scoreboard players set @s dayshower_month 9
execute as @a if score @s dayshower_storge_2 matches 244..273 if score @s dayshower_leap_today matches 1 run scoreboard players remove @s dayshower_storge_2 243
execute as @a if score @s dayshower_storge_2 matches 243..272 if score @s dayshower_leap_today matches 0 run scoreboard players set @s dayshower_month 9
execute as @a if score @s dayshower_storge_2 matches 243..272 if score @s dayshower_leap_today matches 0 run scoreboard players remove @s dayshower_storge_2 242
execute as @a if score @s dayshower_storge_2 matches 274..304 if score @s dayshower_leap_today matches 1 run scoreboard players set @s dayshower_month 10
execute as @a if score @s dayshower_storge_2 matches 274..304 if score @s dayshower_leap_today matches 1 run scoreboard players remove @s dayshower_storge_2 273
execute as @a if score @s dayshower_storge_2 matches 273..303 if score @s dayshower_leap_today matches 0 run scoreboard players set @s dayshower_month 10
execute as @a if score @s dayshower_storge_2 matches 273..303 if score @s dayshower_leap_today matches 0 run scoreboard players remove @s dayshower_storge_2 272
execute as @a if score @s dayshower_storge_2 matches 305..334 if score @s dayshower_leap_today matches 1 run scoreboard players set @s dayshower_month 11
execute as @a if score @s dayshower_storge_2 matches 305..334 if score @s dayshower_leap_today matches 1 run scoreboard players remove @s dayshower_storge_2 304
execute as @a if score @s dayshower_storge_2 matches 304..333 if score @s dayshower_leap_today matches 0 run scoreboard players set @s dayshower_month 11
execute as @a if score @s dayshower_storge_2 matches 304..333 if score @s dayshower_leap_today matches 0 run scoreboard players remove @s dayshower_storge_2 303
execute as @a if score @s dayshower_storge_2 matches 335..365 if score @s dayshower_leap_today matches 1 run scoreboard players set @s dayshower_month 12
execute as @a if score @s dayshower_storge_2 matches 335..365 if score @s dayshower_leap_today matches 1 run scoreboard players remove @s dayshower_storge_2 334
execute as @a if score @s dayshower_storge_2 matches 334..365 if score @s dayshower_leap_today matches 0 run scoreboard players set @s dayshower_month 12
execute as @a if score @s dayshower_storge_2 matches 334..365 if score @s dayshower_leap_today matches 0 run scoreboard players remove @s dayshower_storge_2 334
execute as @a if score @s dayshower_storge_2 matches 367.. if score @s dayshower_leap_today matches 1 run scoreboard players set @s dayshower_month 1
execute as @a if score @s dayshower_storge_2 matches 367.. if score @s dayshower_leap_today matches 1 run scoreboard players remove @s dayshower_storge_2 366
execute as @a if score @s dayshower_storge_2 matches 366.. if score @s dayshower_leap_today matches 0 run scoreboard players set @s dayshower_month 1
execute as @a if score @s dayshower_storge_2 matches 366.. if score @s dayshower_leap_today matches 0 run scoreboard players remove @s dayshower_storge_2 366